﻿
namespace KinonekoSoftware.Foundation.UI.Controls.Selectors
{
    public class ForestComboBox : ForestComboBoxBase
    {
#if WINDOWS

        public static readonly DependencyProperty StrokeProperty = DependencyProperty.Register(
            nameof(Stroke),
            typeof(Brush),
            typeof(ForestComboBox),
            new PropertyMetadata(default(Brush)));

        public Brush Stroke
        {
            get => (Brush)GetValue(StrokeProperty);
            set => SetValue(StrokeProperty, value);
        }

#else
        
        public static readonly StyledProperty<Brush> StrokeProperty = AvaloniaProperty.Register<ForestComboBox, Brush>(nameof(Stroke));

        public Brush Stroke
        {
            get => GetValue(StrokeProperty);
            set => SetValue(StrokeProperty, value);
        }

        #endif
    }
}